package com.easyidea.its.web.action.base;

import com.easyidea.its.util.SessionUtil;

public class NavigationAction extends ItsBaseAction {
  /**
	 * 
	 */
	private static final long serialVersionUID = -825666800564857418L;
	
	private int menuType;
	
	public String toTop() {
		return SUCCESS;
	}
	public String toLeft() {
		return SUCCESS;
	}
	public String toRight() {
		return SUCCESS;
	}	
	public int getMenuType() {
		return menuType;
	}

	public void setMenuType(int menuType) {
		this.menuType = menuType;
	}

	public String navigation() {
	  SessionUtil.getSession().setAttribute("menuType", menuType);
	  return SUCCESS;
   }
}
